package com.net.xpay.core.manager;

import com.net.common.manager.VersionedManager;
import com.net.xpay.core.domain.AlipayUser;
import com.net.xpay.core.model.AlipayUserSearchModel;

import java.util.List;


public interface AlipayUserManager extends VersionedManager<Long,AlipayUser> {
    AlipayUser findByIsvBizId(String isvBizId);

    AlipayUser findByAlipayNickName(Long userId, String alipayNickName);

    List<AlipayUser> list(AlipayUserSearchModel searchModel);

    List<AlipayUser> search(AlipayUserSearchModel searchModel);

    long searchCount(AlipayUserSearchModel searchModel);

    AlipayUser findById(Long userId, Long alipayUserId);

    AlipayUser findBySignBizNo(Long userId, String signBizNo);
}
